package com.fastwire.carriere.common.constant;

import java.util.HashMap;

import com.google.common.collect.HashBiMap;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;

/**
 * The Class HuaweiInventoryConstants.
 */
public class HuaweiInventoryConstants {

	/** The Constant LayerRate_MPLS_Path. */
	public static final String LayerRate_MPLS_Path = "LR_MPLS_Path";

	/** The Constant CC_IngressLsrID. */
	public static final String CC_IngressLsrID = "IngressLsrID";

	/** The Constant CC_EgressLsrID. */
	public static final String CC_EgressLsrID = "EgressLsrID";

	/** The Constant CC_Bandwidth. */
	public static final String CC_Bandwidth = "Bandwidth";

	/** The Constant CC_Bandwidth. */
	public static final String CC_Direction = "Direction";

	/** The Constant CC_PIR. */
	public static final String CC_PIR = "PIR";

	/** The Constant CC_PBS. */
	public static final String CC_PBS = "PBS";

	/** The Constant CC_CBS. */
	public static final String CC_CBS = "CBS";

	/** The Constant CC_NextHop. */
	public static final String CC_NextHop = "NextHop";

	/** The Constant FDFR_BindingObject. */
	public static final String FDFR_BindingObject = "BindingObject";

	/** The Constant NETYPE_TCP_MAP. */
	public static final ImmutableMap<String, String> NETYPE_TCP_MAP = 
		ImmutableMap.of("OptiX PTN 910", "1969", "OptiX PTN 950", "1970");

	public static final String NE_EXCEPTION = "OID is not configured";

	public static HashBiMap<Integer, Integer> BANDWIDTH_CIR_MAP = HashBiMap
			.create();
	static {

		BANDWIDTH_CIR_MAP.put(2000, 2914);
		BANDWIDTH_CIR_MAP.put(4000, 5628);
		BANDWIDTH_CIR_MAP.put(6000, 8343);
		BANDWIDTH_CIR_MAP.put(8000, 11057);
		BANDWIDTH_CIR_MAP.put(10000, 13771);
		BANDWIDTH_CIR_MAP.put(20000, 27342);
		BANDWIDTH_CIR_MAP.put(30000, 40914);
		BANDWIDTH_CIR_MAP.put(40000, 54485);
		BANDWIDTH_CIR_MAP.put(50000, 68057);
		BANDWIDTH_CIR_MAP.put(60000, 81628);
		BANDWIDTH_CIR_MAP.put(70000, 95200);
		BANDWIDTH_CIR_MAP.put(80000, 108772);
		BANDWIDTH_CIR_MAP.put(90000, 122343);
		BANDWIDTH_CIR_MAP.put(100000, 135914);
		BANDWIDTH_CIR_MAP.put(200000, 271429);
		BANDWIDTH_CIR_MAP.put(300000, 407143);
		BANDWIDTH_CIR_MAP.put(400000, 542858);
		BANDWIDTH_CIR_MAP.put(500000, 678572);
		BANDWIDTH_CIR_MAP.put(600000, 814286);
		BANDWIDTH_CIR_MAP.put(700000, 950001);

	}

	public static HashMap<String, Integer> BANDWIDTH_KEYWORD_MAP = Maps
			.newHashMap();
	static {
		BANDWIDTH_KEYWORD_MAP.put("E", 2);
		BANDWIDTH_KEYWORD_MAP.put("ME", 2);
		BANDWIDTH_KEYWORD_MAP.put("GX", 1000);
		BANDWIDTH_KEYWORD_MAP.put("HX", 100);

	}

}
